<?php

namespace App\Models;

use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Database\Eloquent\Model;

/**
 * App\Models\messages
 *
 * @property int $id
 * @property string $name
 * @property string $content
 * @property string $status
 * @property string $sender 发信人id
 * @property string $getter 收信人id
 * @property string|null $deleted_at
 * @property \Illuminate\Support\Carbon|null $updated_at
 * @property \Illuminate\Support\Carbon|null $created_at
 * @method static \Illuminate\Database\Eloquent\Builder|messages newModelQuery()
 * @method static \Illuminate\Database\Eloquent\Builder|messages newQuery()
 * @method static \Illuminate\Database\Eloquent\Builder|messages query()
 * @method static \Illuminate\Database\Eloquent\Builder|messages whereContent($value)
 * @method static \Illuminate\Database\Eloquent\Builder|messages whereCreatedAt($value)
 * @method static \Illuminate\Database\Eloquent\Builder|messages whereDeletedAt($value)
 * @method static \Illuminate\Database\Eloquent\Builder|messages whereGetter($value)
 * @method static \Illuminate\Database\Eloquent\Builder|messages whereId($value)
 * @method static \Illuminate\Database\Eloquent\Builder|messages whereName($value)
 * @method static \Illuminate\Database\Eloquent\Builder|messages whereSender($value)
 * @method static \Illuminate\Database\Eloquent\Builder|messages whereStatus($value)
 * @method static \Illuminate\Database\Eloquent\Builder|messages whereUpdatedAt($value)
 * @property string $type
 * @method static \Illuminate\Database\Eloquent\Builder|messages whereType($value)
 * @mixin \Eloquent
 */
class messages extends Model
{
    use HasFactory;
    protected $table = 'messages';
    protected $fillable = [
        'name',
        'content',
        'status',
        'sender',
        'getter',
        'type',
    ];
}
